#!/bin/bash
# Zaitan Module - Savage Install
# Zaitan Team <http://code.google.com/p/zaitan/>

RMOD_ENGINE='1.0'
RMOD_CATEGORY='Software'
RMOD_SUBCATEGORY='Games'
RMOD_NAME='Savage'
RMOD_AUTHOR='Zaitan Team'
RMOD_VERSION='1.0'
RMOD_DESCRIPTION='Installs Savage'
RMOD_UPDATE_URL='http://code.google.com/p/zaitan/'

# install Savage

echo Running $RMOD_NAME...
#/usr/lib/zaitan/modulo/mod-checkInstall


apt-get update

cd /usr/share/zaitan
wget -c http://www.happypuppy.com/s2games/Savage_with_sep3t.run
wget -c http://www.notforidiots.com/SFE/SFE-Patch.tar.gz

chmod +x Savage_with_sep3t.run
./Savage_with_sep3t.run
mv SFE-Patch.tar.gz /usr/local/games/Savage/
cd /usr/local/games/Savage/
tar xvzf SFE-Patch.tar.gz


echo $RMOD_NAME Finibashed...

##Logs
echo $RMOD_NAME-$RMOD_VERSION | tee -a /usr/share/zaitan/logs
/usr/lib/zaitan/modulo/mod-logs
##

exit 0
